DevJourney

Python/Basics/Divisibility by 5/divisible by 5.py

x=int(input("Enter a number: "))
r=x%5
if r==0:
    print("Divisible")
else:
    print("Not Divisible")
View on GitHub